﻿<%@ Page Title="Редактирование профиля" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Bmpe.aspx.cs" Inherits="Bmpe" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <script src="../dropDown/js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../dropDown/js/jquery.dropDown.pack.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
        <ContentTemplate>
            <h3>
                <asp:LinkButton ID="HyperLink1" runat="server" Text="Общая информация" OnClick="ExtInfoButton_Click" />
                |
                <asp:LinkButton ID="HyperLink2" runat="server" Text="Контактная информация" OnClick="ContactInfoButton_Click" />
            </h3>
            <br />
            <br />
            <br />
            <asp:MultiView ID="RegProfileMultiView" runat="server" ActiveViewIndex="0">
                <asp:View ID="ExtInfoView" runat="server">
                    <table>
                        <tr>
                            <td width="150px">
                                Имя:
                            </td>
                            <td>
                                <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Фамилия:
                            </td>
                            <td>
                                <asp:TextBox ID="LastName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Отчество:
                            </td>
                            <td>
                                <asp:TextBox ID="Patronymic" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Пол:
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList1" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Дата <br /> рождения:
                            </td>
                            <td>
                                <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Город/Село...
                            </td>
                            <td>
                                <asp:TextBox ID="AreaTB" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </asp:View>
                <asp:View ID="ContactInfoView" runat="server">
                    <table>
                        <tr>
                            <td width="150px">
                                Vk:
                            </td>
                            <td>
                                <asp:TextBox ID="VkTB" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Facebook:
                            </td>
                            <td>
                                <asp:TextBox ID="FBTB" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Myspace:
                            </td>
                            <td>
                                <asp:TextBox ID="MSTB" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Twitter:
                            </td>
                            <td>
                                <asp:TextBox ID="TwTB" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Google+:
                            </td>
                            <td>
                                <asp:TextBox ID="GpTB" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Телефон:
                            </td>
                            <td>
                                <asp:TextBox ID="TelTB" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Доп.<br /> информация:
                            </td>
                            <td>
                                <asp:TextBox ID="OthTB" runat="server" TextMode="MultiLine" Columns="17" Rows="5"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </asp:View>
            </asp:MultiView>
            <br />
            <p align="center" style="border: 1px double black; width: 200px;">
                <asp:LinkButton ID="SendMesHiperLink" runat="server" Text="Сохранить изменения" OnClick="SaveChangeButton_Click" />
            </p>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
